<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
		<title>test</title>
        <script type="text/javascript" src="validate.js"></script>
    </head>
 	<body>
 		<script type="text/javascript">
 			console.log(CNC.utils.Validate.isMail("jianjun.wang@condenast.com.cn"));
 			console.log(CNC.utils.Validate.isMail("jianjun.wang@condenast"));
 			console.log(CNC.utils.Validate.isNumber("-1231.999"));
 			console.log(CNC.utils.Validate.isDigits("1231"));
 			console.log(CNC.utils.Validate.isTelPhone("010-49442303"));
 			console.log(CNC.utils.Validate.isTelPhone("0356-4944230"));
 			console.log(CNC.utils.Validate.isMobilePhone("123000045454"));
 			console.log(CNC.utils.Validate.isMobilePhone("18923210323"));

 			console.log(CNC.utils.Validate.isDate("2012-7-5"));
 			console.log(CNC.utils.Validate.isDate("2012.7.5"));
 			console.log(CNC.utils.Validate.isDate("2012.75"));
 			console.log(CNC.utils.Validate.isDate("2012.7.5"));
 		</script>
    </body>
</html>
